/*    */ package system.staros.ablock1;
/*    */ 
/*    */ import java.io.FileInputStream;
/*    */ import java.io.FileOutputStream;
/*    */ import java.io.IOException;
/*    */ import java.util.Properties;
/*    */ 
/*    */ public class UserUtils
/*    */ {
/*  9 */   public static String USERS_FOLDER = "/system/users/";
/* 10 */   public static Properties USER_INFO = new Properties();
/*    */ 
/*    */   public static Properties getUserInfo() {
/*    */     try { USER_INFO.load(new FileInputStream("system/users/user.properties"));
/*    */     } catch (IOException localIOException) {
/*    */     }
/* 16 */     return USER_INFO;
/*    */   }
/*    */   public static String getUserName() {
/* 19 */     return getUserInfo().getProperty("name");
/*    */   }
/*    */   public static void setUserName(String paramString) {
/* 22 */     USER_INFO.setProperty("name", paramString);
/*    */     try {
/* 24 */       USER_INFO.store(new FileOutputStream("system/users/user.properties"), null);
/*    */     }
/*    */     catch (IOException localIOException)
/*    */     {
/*    */     }
/*    */   }
/*    */ }

/* Location:           D:\Марк\!IMPORTANT\staros\archive\version-2.260.zip
 * Qualified Name:     system.staros.ablock1.UserUtils
 * JD-Core Version:    0.6.1
 */